package it.traveldream.dto;

import java.io.Serializable;

import org.hibernate.validator.constraints.NotEmpty;

public class ProductDTO implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private Long productId;
	@NotEmpty
	protected String name;
	
	private LocationDTO location;
	private ProductTypeDTO productType;
	
	public Long getProductId() {
		return this.productId;
	}
	public void setProductId(Long productId) {
		this.productId = productId;
	}
	public String getName() {
		return this.name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public LocationDTO getLocation() {
		return this.location;
	}
	public void setLocation(LocationDTO location) {
		this.location = location;
	}
	public ProductTypeDTO getProductType() {
		return this.productType;
	}
	public void setProductType(ProductTypeDTO productType) {
		this.productType = productType;
	}
}
